package com.kkb.robotcustomerservice.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kkb.robotcustomerservice.entities.GeneralAnswer;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @Author: lqk
 * @Description:
 * @Date Created in 2020-11-25 16:07
 * @Modified By:
 */
public interface GeneralAnswerDao extends BaseMapper<GeneralAnswer> {
    @Select("SELECT * FROM general_answer WHERE que_id = #{qid}")
    GeneralAnswer getByQid(@Param("qid") Integer qid);
}
